import request from '@/utils/request'

// 查询住建平台劳务对接信息列表
export function listLivebuildDockingplatform(query) {
  return request({
    url: '/lgdz/livebuildDockingplatform/list',
    method: 'get',
    params: query
  })
}

// 查询住建平台劳务对接信息详细
export function getLivebuildDockingplatform(id) {
  return request({
    url: '/lgdz/livebuildDockingplatform/' + id,
    method: 'get'
  })
}

// 新增住建平台劳务对接信息
export function addLivebuildDockingplatform(data) {
  return request({
    url: '/lgdz/livebuildDockingplatform',
    method: 'post',
    data: data
  })
}

// 修改住建平台劳务对接信息
export function updateLivebuildDockingplatform(data) {
  return request({
    url: '/lgdz/livebuildDockingplatform',
    method: 'put',
    data: data
  })
}

// 删除住建平台劳务对接信息
export function delLivebuildDockingplatform(id) {
  return request({
    url: '/lgdz/livebuildDockingplatform/' + id,
    method: 'delete'
  })
}

// 导出住建平台劳务对接信息
export function exportLivebuildDockingplatform(query) {
  return request({
    url: '/lgdz/livebuildDockingplatform/export',
    method: 'get',
    params: query
  })
}